<style type="text/css">
	legend {
		font-size:8px;
		font-weight:bold;
		text-transform:uppercase;
		background:#f1f1f1;
		border-top:1px dotted #333;
		border-left:1px dotted #333;
		border-right:1px dotted #333;
		padding:3px;
		background:#ddd;
	}
	fieldset {
		background:#f4f4f4;
		border:1px dotted #333;
                margin-top: 10px;
	}
	.noborder {
		border:none;
		background:none;
	}
	input[type=button] {
		font-size:11px;
	}
</style>
<div class="judul"><?php echo anchor($linkBack, $title);?> <span class="breadcrumb"><?php echo "$titlePage";?></span></div>
<fieldset>
    <legend>Data Calon Adik Asuh</legend>
    <?php
      foreach ($listCalonAdikAsuh as $row);
    ?>
    <div style="width: 500px;float: left">
    <table width="100%" cellpadding="3px">
        <tr>
            <td width="150px">- Nama</td><td><?php echo $row['nama'];?></td>
        </tr>
        <tr>
            <td>- Alamat</td><td><?php echo $row['alamat'];?></td>
        </tr>
        <tr>
            <td>- Sekolah</td><td><?php echo $row['sekolah'];?></td>
        </tr>
        <tr>
            <td>- Kelas</td><td><?php echo $row['kelas'].' '.$row['tingkat_pendidikan'];?></td>
        </tr>
    </table>
</fieldset>
<?php
    echo form_open($subLink);
?>
<table class="tabel">
    <?php
        $i = 1;
        foreach ($listBobot as $rows){
    ?> 
    <tr>
        <td style="background: #d7f4fb;"><?php echo $rows['kriteria'];?></td>
        <td>
          <?php
          echo form_input('bobot[]', $rows['bobot'], "id='bobot$i'");
          echo form_hidden('id[]', $rows['id']);        
          ?>
        </td>
    </tr>  
    <?php
      $i++;
        }
    ?>
</table>
<?php
    echo form_submit('save', 'Simpan', 'class=button style=margin-top:10px;margin-right:2px');
    echo form_button('Batal', 'Batal', 'class=button onClick='."javascript:location.href='".base_url()."index.php/pembobotan_alternatif/get_pembobotan_alternatif/'");
?>
<?php
    echo form_close();
?>
